package com.wondertek.poms.core.service;

import com.sun.org.apache.xpath.internal.operations.Bool;
import com.wondertek.poms.common.service.IService;
import com.wondertek.poms.dao.po.EquityNode;

import java.util.List;

/**
 * <p><b>IPcProductRuleService Description:</b> 二级产品规则 管理 </p>
 * @author 窦再兴
 * <p><b>DATE</b> 2020-10-16 15:56:15</p>
 */
public interface IEquityNodeService extends IService<EquityNode, Long> {

    List<EquityNode> findForSelect();

    List<EquityNode> findAllByTreeId(String id);

    String deleteByNodeId(Long id);

    Boolean checkEquityNodeExist(Long treeId);

    String checkNodeStatus(Long id);

    List<EquityNode> findAllByNodeName(String nodeName);
}